import React, {Component} from 'react';

class NavBar extends Component {

    render() {
        const {children} = this.props
        console.log(children)
        return (
            <div>
                <div className="left">{children[0]}</div>
                <div className="right">{children[1]}</div>
                <div className="center">{children[2]}</div>
            </div>
        );
    }
}

export default NavBar;